package com.lm56.web.queryhistory;

import com.lm56.common.MyRequestBody;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Kelvin Yeung on 2016/12/10.
 */
public interface QueryHistoryMapper {

    List<QueryHistory> getQueryHistories(MyRequestBody<QueryHistoryQueryForm> requestBody);
    Integer getQueryHistoriesCount(MyRequestBody<QueryHistoryQueryForm> requestBody);
    void insertQueryHistory(QueryHistory queryHistory);
    void deleteQueryHistory(@Param("id") Long id,@Param("userId")Long userId);
}
